package com.habdqn.easybuy.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * (OrderDetail)实体类
 *
 * @author Xing.Jiejian
 * @since 2020-11-25 10:41:12
 */
@Data
public class OrderDetail implements Serializable {
    /**
     * 详情id
     */
    private Integer id;
    /**
     * 订单ID
     */
    private Integer orderId;
    /**
     * 商品ID
     */
    private Integer productId;
    /**
     * 商品数量
     */
    private Integer productQuantity;

    /**
     * 关联对象：对应的商品
     */
    private Product product;

}